<!--#include file="../inc/conn.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script type="text/javascript" src="ui/jquery.js"></script>
 <link rel="stylesheet" href="ui/css/layui.css" type="text/css"  />

<script type="text/javascript" src="ui/layui.js"></script>
 <script type="text/javascript" src="ui/main.js?1"></script>

</head>


<body><%sql="select * from [lottery_list] where [id]="&request("id")
        rs.open sql,conn,3,3%>
   <div style="padding:15px;">
    
   
   
        <form id="form1" name="form1" class="layui-form"  method="post" action="?act=add&id=<%=request("id")%>">
    
  	   <table width="100%" border="0" cellspacing="0" cellpadding="0"  >
         <tr>
      <td width="60" height="40">操作</td>
      <td> 
       <input type="radio" name="type" id="radio" value="1" title="已领取" <%if rs("islq")="1"  then%> checked="checked"<%end if%>/>
         <input type="radio" name="type" id="radio" value="0" title="未领取" <%if rs("islq")="0"  then%> checked="checked"<%end if%>/>
           
</td>
    </tr>
  
  
      <tr>
      <td height="40">备注</td>
      <td><input name="bz" type="text" class="layui-input" id="c4" size="100"  value="<%=rs("bz")%>"  placeholder="可填入抽奖赠送产品的串号，方便后期对账"/></td>
    </tr>
    
        <tr>
          <td height="50"></td>
          <td>
            <input type="submit" class="layui-btn" value="确认" lay-submit="lay-submit" /></td>
        </tr>
      </table>
 
  </form>

    
  
       
	</div> 
 

  
<%


if request("act")="add" then

rs("islq")=request("type")
rs("bz")=request("bz")



 rs.update


		rs.close
	
 
response.Write"<script>parent.location.reload();</script>"
end if
	

 

		set rs=nothing
 
%>
  

</body>

</html>
